<?php

namespace App\Http\Controllers\IndexManage;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class UserController extends Controller{
    // public function index(){
    //     return view('index');
    // }

    public function home(){
        $user_info = [
            [
                'key' => 1,
                'name'=>'dqm',
                'age' => 24
            ],

            [
                'key' => 2,
                'name' => 'fzq',
                'age' => 25
            ]
            
        ];
        return $user_info;
    }
}
